home *** CD-ROM | disk | FTP | other *** search
- # Node uw10 generated on Thu Sep 04 16:18:58 1997
- world u
- room w
- nodeview 10
-
- puzzle:01760 { # uw10_add_to_score
- criteria {
- [01004] = 1 # user_has_lantern
- }
- results {
- action:add(14999, 15) # user_score
- }
- }
-
- puzzle:01761 { # uw10_no_spellbook
- criteria {
- [01037] = 0 # user_has_magicbook
- }
- results {
- action:menu_bar_enable(269)
- action:assign(01762, 0) # uw10_yes_spellbook
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01762 { # uw10_yes_spellbook
- criteria {
- [01037] = 1 # user_has_magicbook
- }
- results {
- action:menu_bar_enable(781)
- action:assign(01761, 0) # uw10_no_spellbook
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01763 { # uw10_screenset_door_closed
- criteria {
- [01764] = 0 # uw1f_door_state
- }
- results {
- action:set_screen(uw10s011.tga)
- action:assign(01765, 1) # uw10_light_on
- action:assign(01766, 1) # uw10_screenset
- action:assign(01767, 1) # uw10_screenset_door_open
- action:enable_control(01768) # uw10_uw10_uw1g
- action:enable_control(01769) # uw10_uw10_uw1k
- action:enable_control(01770) # uw10_door_hotspot
- action:assign(01771, 1) # p_curfew_has_begun
- }
- flags {
- once_per_inst
- do_me_now
- }
- }
-
- puzzle:01767 { # uw10_screenset_door_open
- criteria {
- [01764] = 1 # uw1f_door_state
- }
- results {
- action:set_screen(uw10s021.tga)
- action:assign(01765, 1) # uw10_light_on
- action:assign(01766, 1) # uw10_screenset
- action:assign(01763, 1) # uw10_screenset_door_closed
- action:enable_control(01769) # uw10_uw10_uw1k
- action:enable_control(01768) # uw10_uw10_uw1g
- action:enable_control(01770) # uw10_door_hotspot
- action:assign(01771, 1) # p_curfew_has_begun
- }
- flags {
- once_per_inst
- do_me_now
- }
- }
-
- puzzle:01772 { # uw10_dm_speaks_1
- criteria {
- [01766] = 1 # uw10_screenset
- }
- results {
- action:disable_control(01769) # uw10_uw10_uw1k
- action:disable_control(01768) # uw10_uw10_uw1g
- action:disable_control(01770) # uw10_door_hotspot
- action:universe_music:01024(1 UW10H60p.raw 0 100) # voice_over
- action:assign(01582, 4) # person_talking
- }
- }
-
- puzzle:01773 { # uw10_cheated_turn_off
- criteria {
- [01024] = 1 # voice_over
- [01766] = 1 # uw10_screenset
- [01774] ! 1 # uw10_never_disable
- }
- results {
- action:disable_control(01769) # uw10_uw10_uw1k
- action:disable_control(01768) # uw10_uw10_uw1g
- action:disable_control(01770) # uw10_door_hotspot
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01775 { # uw10_enable_after_dm_speaks_2
- criteria {
- [01024] = 2 # voice_over
- [01037] = 1 # user_has_magicbook
- }
- criteria {
- [01024] = 0 # voice_over
- [01037] = 1 # user_has_magicbook
- }
- results {
- action:enable_control(01769) # uw10_uw10_uw1k
- action:enable_control(01768) # uw10_uw10_uw1g
- action:enable_control(01770) # uw10_door_hotspot
- action:assign(01774, 1) # uw10_never_disable
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01776 { # uw10_ygael_appears
- criteria {
- [01766] = 1 # uw10_screenset
- [01024] ! 1 # voice_over
- [01772] = 1 # uw10_dm_speaks_1
- }
- results {
- action:assign(01665, 15) # universe_sound_controller
- action:rotate_to(1422, 40)
- action:dissolve()
- action:change_location(u, w, 1h, 0)
- }
- }
-
- puzzle:01777 { # uw10_user_gets_magicbook
- criteria {
- [01778] = 1 # uw1h_played_ygael_movie
- }
- results {
- action:assign(00008, 0) # KeyPress
- action:assign(01017, 6) # user_just_grabbed
- action:dissolve()
- action:change_location(g, j, iv, 0)
- }
- }
-
- puzzle:01779 { # uw10_screenset_rope
- criteria {
- [01766] = 1 # uw10_screenset
- [01004] = 1 # user_has_lantern
- [01780] = 0 # uw1g_grab_rope
- [01764] = 1 # uw1f_door_state
- }
- results {
- action:set_partial_screen(106 0 uw10y031.tga 0 -1)
- }
- flags {
- once_per_inst
- do_me_now
- }
- }
-
- puzzle:01779 { # uw10_screenset_rope
- criteria {
- [01766] = 1 # uw10_screenset
- [01004] = 1 # user_has_lantern
- [01780] = 0 # uw1g_grab_rope
- [01764] = 0 # uw1f_door_state
- }
- results {
- action:set_partial_screen(114 0 uw10y021.tga 0 -1)
- }
- flags {
- once_per_inst
- do_me_now
- }
- }
-
- puzzle:01781 { # uw10_move_uw10_uw1f
- criteria {
- [01770] = 1 # uw10_door_hotspot
- }
- results {
- action:assign(01770, 0) # uw10_door_hotspot
- action:dissolve()
- action:change_location(u, w, 1f, 0)
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01782 { # uw10_move_uw10_uw1g
- criteria {
- [01768] = 1 # uw10_uw10_uw1g
- }
- results {
- action:assign(01768, 0) # uw10_uw10_uw1g
- action:dissolve()
- action:change_location(u, w, 1g, 0)
- }
- flags {
- once_per_inst
- }
- }
-
- puzzle:01783 { # uw10_move_uw10_uw1k
- criteria {
- [01769] = 1 # uw10_uw10_uw1k
- }
- results {
- action:assign(01769, 0) # uw10_uw10_uw1k
- action:dissolve()
- action:change_location(u, w, 1k, 0)
- }
- flags {
- once_per_inst
- }
- }
-
- control:01769 push_toggle { # uw10_uw10_uw1k
- warp_hotspot(1615, 227, 133, 113)
- cursor(forward)
- }
-
- control:01768 push_toggle { # uw10_uw10_uw1g
- warp_hotspot(50, 0, 300, 200)
- cursor(zuparrow)
- }
-
- control:01770 push_toggle { # uw10_door_hotspot
- warp_hotspot(1281, 64, 254, 271)
- cursor(forward)
- }
-
- control:01784 pana { # uw10_pana
- angle(28.0)
- linscale(0.90)
- }
-
-